home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 11p3.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-08  |  1.6 KB  |  58 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie, gCursorReady, gKnobState
  3.   puppetSprite(48, 1)
  4.   gCursorReady = 1
  5.   gKnobSprite = 14
  6.   gSendMovie = "11p3"
  7.   gKnobState = 1
  8.   puppetSprite(gKnobSprite, 1)
  9.   setUpKnob()
  10.   setUpKnob()
  11.   set the mouseDownScript to EMPTY
  12.   set the mouseUpScript to EMPTY
  13. end
  14.  
  15. on idle
  16.   global gCursorReady
  17.   if gCursorReady = 1 then
  18.     cursor(200)
  19.     checkCursors()
  20.     set the locH of sprite 48 to the mouseH
  21.     set the locV of sprite 48 to the mouseV
  22.     updateStage()
  23.   end if
  24. end
  25.  
  26. on checkCursors
  27.   global gMagCursor
  28.   gMagCursor = "magCursor"
  29.   set the castNum of sprite 48 to the number of member "curs1"
  30.   if the castNum of sprite 6 and rollOver(6) then
  31.     set the castNum of sprite 48 to the number of member gMagCursor
  32.   end if
  33.   if the castNum of sprite 8 and rollOver(8) then
  34.     set the castNum of sprite 48 to the number of member "deMagCursor"
  35.   end if
  36.   repeat with i = 15 to 17
  37.     if rollOver(i) then
  38.       set the castNum of sprite 48 to the number of member "hotCursor"
  39.     end if
  40.   end repeat
  41.   if the castNum of sprite 20 and rollOver(20) then
  42.     set the castNum of sprite 48 to the number of member "hotCursor"
  43.   end if
  44.   repeat with i = 30 to 31
  45.     if rollOver(i) then
  46.       set the castNum of sprite 48 to the number of member "hotCursor"
  47.     end if
  48.   end repeat
  49.   repeat with i = 40 to 42
  50.     if rollOver(i) then
  51.       set the castNum of sprite 48 to the number of member "hotCursor"
  52.     end if
  53.   end repeat
  54.   if the castNum of sprite 47 and rollOver(47) then
  55.     set the castNum of sprite 48 to the number of member "hotCursor"
  56.   end if
  57. end
  58.